package com.csdj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 今晚几点睡Ada
 * @since 2022-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TAddress对象", description="")
public class TAddress extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收货地址id")
    @TableId(value = "aid", type = IdType.AUTO)
    private Integer aid;

    @ApiModelProperty(value = "归属的用户id")
    private Integer uid;

    @ApiModelProperty(value = "收货人姓名")
    private String name;

    @ApiModelProperty(value = "省-名称")
    private String provinceName;

    @ApiModelProperty(value = "省-行政代号")
    private String provinceCode;

    @ApiModelProperty(value = "市-名称")
    private String cityName;

    @ApiModelProperty(value = "市-行政代号")
    private String cityCode;

    @ApiModelProperty(value = "区-名称")
    private String areaName;

    @ApiModelProperty(value = "区-行政代号")
    private String areaCode;

    @ApiModelProperty(value = "邮政编码")
    private String zip;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "固话")
    private String tel;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "是否默认：0-不默认，1-默认")
    private Integer isDefault;



}
